from django.db import models

class classroom(models.Model):
    number = models.CharField(verbose_name= '序号'),
    name = models.IntegerField(max_length=16,verbose_name='名称'),
    number_of_people = models.IntegerField(verbose_name='人数'),
    theory_classroom = models.BooleanField(verbose_name='是否为理论教室')
    img= models.IntegerField(verbose_name='照片',)

    def __str__(self):
        return self.name

    class Meta:
        ordering = ['number']


